package com.tnovoselec.android.travelassistant.fragment;

import android.app.Dialog;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;

import com.tnovoselec.android.travelassistant.R;

public class ProgressDialogFragment extends DialogFragment {

	@Override
	public Dialog onCreateDialog(Bundle savedInstanceState) {
		final ProgressDialog dialog = new ProgressDialog(getActivity());
	    //
	    dialog.setTitle(R.string.meteo_dialog_title);
	    dialog.setMessage(getString(R.string.meteo_dialog_message));
	    dialog.setIndeterminate(true);
	    dialog.setCancelable(false);
	    // etc...
	    return dialog;
	}

}
